package yunplus.io.hchome.display.video;

/**
 * Created by dxq on 2017/6/27.
 */
public class Const {
    private static final String TAG = Const.class.getSimpleName();

    public static final class RequestType {
        public static final int INIT_SURFACE = 0x0;
        public static final int UINIT_SURFACE = 0x1;
        public static final int PLAY = 0x2;
        public static final int STOP = 0x3;
        public static final int OPEN_FILE = 0x4;
        public static final int CLOSE_FILE = 0x5;
        public static final int OPEN_STREAM = 0x6;
        public static final int CLOSE_STREAM = 0x7;
        public static final int INPUT_DATA = 0x8;
        public static final int PAUSE = 0x9;
        public static final int FAST = 0xa;
        public static final int SLOW = 0xb;
        public static final int ONE_BY_ONE = 0xc;
        public static final int SET_PLAY_POS = 0xd;
        public static final int SET_PLAY_DIRECTION = 0xe;
        public static final int GET_PLAY_POST = 0xf;
        public static final int SET_VOLUME = 0x10;
        public static final int GET_VOLUME = 0x11;
        public static final int STOP_SOUND = 0x12;
        public static final int PLAY_SOUND = 0x13;
        public static final int GET_FILE_TIME = 0x14;
        public static final int GET_PLAYED_TIME = 0x15;
        public static final int GET_PLAYED_FRAMES = 0x16;
        public static final int CONVERT_TO_BMP_FILE = 0x17;
        public static final int CONVERT_TO_JPEG_FILE = 0x18;
        public static final int GET_FILE_TOTAL_FRAMES = 0x19;
        public static final int GET_CURRENT_FRAME_RATE = 0x1a;
        public static final int GET_PLAYED_TIME_EX = 0x1b;
        public static final int SET_PLAYED_TIME_EX = 0x1c;
        public static final int SURFACEVIEW_CHANGED = 0x1d;
        public static final int START_PLAY = 0x1e;
        public static final int STOP_PLAY = 0x1F;
    }

    public static final class ResponseType {
    }

    public static final class DataKey {
        public static final String PORT = "port";
        public static final String SURFACE_VIEW = "surface_view";
    }
}